// Copyright 2009-2010 Sandia Corporation. Under the terms
// of Contract DE-AC04-94AL85000 with Sandia Corporation, the U.S.
// Government retains certain rights in this software.
// 
// Copyright (c) 2009-2010, Sandia Corporation
// All rights reserved.
// 
// This file is part of the SST software package. For license
// information, see the LICENSE file in the top level directory of the
// distribution.

#ifndef  IRIS_ROUTER_CC_INC
#define  IRIS_ROUTER_CC_INC
#include <sst_config.h>
#include "sst/core/serialization/element.h"

#include <sst/core/element.h>
#include "router.h"

static Component* 
create_router(SST::ComponentId_t id, 
                SST::Component::Params_t& params)
{
    return new Router( id, params );
}

static const ElementInfoComponent components[] = {
    { "router",
      "Iris Router",
      NULL,
      create_router,
    },
    { NULL, NULL, NULL, NULL }
};

extern "C" {
    ElementLibraryInfo iris_router_eli = {
        "iris_router",
        "Trying Desperately to switch out redstorm",
        components,
    };
}
#endif   /* ----- #ifndef IRIS_ROUTER_CC_INC  ----- */
